
#pragma once
#include "OGRE\Ogre.h"
#include "OgreFrameListener.h"

class OgreApp
{
public:
	OgreApp();
	~OgreApp();

	int startup();
	void loadResources();

	void createScene();

	void renderOneFrame();

	bool keepRunning() { return _keepRunning; }

private:
	Ogre::SceneManager* _sceneManager;
	Ogre::Root* _root;

	Ogre::SceneNode* _SinbadNode;
	Ogre::Entity* _SinbadEnt;

	OgreFrameListener* _listener;

	bool _keepRunning;
};
